Tweak C-x TAB behavior changes, and update docs.
authorChong Yidong <cyd@gnu.org>
Sat, 21 Dec 2013 08:37:08 +0000 (16:37 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 21 Dec 2013 08:37:08 +0000 (16:37 +0800)
commitb2e5de81f374595b3f96b81d28633595f8fcbc7b
tree99935a2f06444ec8834af43e56e9fbe3a57d5d34
parent2e9883868deb524a1cc1883a8945f3c6c81f0d3f
Tweak C-x TAB behavior changes, and update docs.

* lisp/indent.el (indent-rigidly-map): Add docstring, and move commands
into named functions.
(indent-rigidly-left, indent-rigidly-right)
(indent-rigidly-left-to-tab-stop)
(indent-rigidly-right-to-tab-stop): New functions.  Decide on
indentation direction based on bidi direction, and accumulate
sequential commands in a single undo boundary.
(indent-rigidly--pop-undo): New utility function.

* doc/emacs/indent.texi (Indentation Commands): Document C-x TAB changes.

* doc/lispref/text.texi (Region Indent): Note the new interactive
behavior of indent-rigidly.
doc/emacs/ChangeLog
doc/emacs/indent.texi
doc/lispref/ChangeLog
doc/lispref/text.texi
lisp/ChangeLog
lisp/indent.el